<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>京山市人民医院-OA系统</title>
    <script type="text/javascript" charset="utf-8" src="../../static/announcements/ueditor/1.4.3/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../static/announcements/ueditor/1.4.3/ueditor.all.min.js"> </script>
    <script type="text/javascript" charset="utf-8" src="../../static/announcements/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../static/public_file/js/jquery.min.js"></script>
    <link rel="stylesheet" href="../../static/personal_center/font_2369197_oqktwkt71s/iconfont.css" media="screen">
    <script type="text/javascript" charset="utf-8" src="../../static/announcements/ueditor/1.4.3/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../static/announcements/ueditor/1.4.3/ueditor.all.min.js"> </script>
    <script type="text/javascript" charset="utf-8" src="../../static/announcements/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
    <style>
        body, html {
            padding: 0;margin: 0;width: 100%;height: 100%;
        }
        td {
            font-size: 14px;
        }
        .file {
            position: relative;display: inline-block;background: #D0EEFF;border: 1px solid #99D3F5;border-radius: 4px;padding: 4px 12px;overflow: hidden;color: #1E88C7;text-decoration: none;text-indent: 0;line-height: 20px;
        }
        .file input {
            position: absolute;font-size: 100px;right: 0;top: 0;opacity: 0;
        }
        .file:hover {
            background: #AADFFD;border-color: #78C3F3;color: #004974;text-decoration: none;
        }
        #loading { background: #fff url(../../static/public_file/images/jiazai.gif) no-repeat scroll center center; height: 100%; width: 100%; background-size: 10%; position: fixed; margin-top: 0px; top: 0px; left: 0px; bottom: 0px; overflow: hidden !important; right: 0px; z-index: 999999;background-color: rgba(255, 255, 255, 0.08);}

    </style>
</head>
<body>
    <div id="loading">
        <div id="loading-center">
        </div>
    </div>

    <div style="width: 100%;height: 100%;">
        <div style="width: 100%;height: 40px;text-align: right;border-bottom: #cfcfcf solid 1px;">

            <button style="line-height: 27px;border-radius: 3px;border: #1E90FF solid 0.5px;width: 70px;height: 30px;margin-top: 5px;background: #1E90FF;color: white;"> <a href="javascript:;" onclick="javascript:history.back(-1)" style="color: white;">返回</a></button>

            <button id="summit_but" onclick="summit_data()" style="width: 70px;height: 30px;line-height: 30px;margin-top: 5px;background-color: #1E90FF;color: white;border: #1E90FF solid 1px;border-radius: 3px;margin-right: 15px;cursor: pointer;">提&nbsp;&nbsp;交</button>
        </div>

        <div style="width: 100%;height: 93%;overflow: auto;background-color: white;font-size: 0;">
            <div style="width: 90%;margin-left: 5%;margin-top: 5px;">
                <div style="width: 100%;">
                    <table style="width: 90%;margin-left: 5%;margin-top: 20px;border-collapse: collapse;">
                        <tr style="width: 100%;">
                            <td colspan="6" style="width: 100%;height: 40px;text-align: center;border: #CCCCCC solid 1px;"><h3 id="h_title">
                                {% if obj.type == 'yb' %}
                                    院长办公会议题审批表
                                {% elif obj.type == 'db' %}
                                    党委会议题审批表
                                {% else %}
                                    行政例会议题审批表
                                {% endif %}
                            </h3></td>
                        </tr>
                        <tr style="width: 100%;">
                            <td colspan="6" style="width: 90%;height: 40px;line-height: 40px;margin-left: 5%;background-color: #F5F5F5;color: #1E90FF;padding-left: 1%;border: #cccccc solid 1px;padding-right: 1%;">申请详情</td>
                        </tr>
                        <tr style="width: 100%;">
                            <td style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                提&nbsp;&nbsp;交&nbsp;&nbsp;人
                            </td>
                            <td id="tjr" style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;">{{ obj.employee.real_name }}</td>
                            <td style="width: 10%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                提交科室
                            </td>
                            <td id="tjks"
                                style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;">
                                {% if 'TW' in obj.number %}
                                    团委
                                {% else %}
                                    {{ obj.employee.company.name }}
                                {% endif %}
                                </td>
                            <td style="width: 10%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                议题编号
                            </td>
                            <td id="bh" style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;">{{ obj.number }}</td>
                        </tr>
                        {% if obj.topic_type %}
                            <tr style="width: 100%;">
                                <td style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">议题类型</td>
                                <td {% if obj.topic_type == "4" or obj.topic_type == "5" or obj.topic_type == "6" %}colspan="5"{% elif obj.topic_type == "3" or obj.topic_type == "7" %}colspan="3"{% endif %} style="{% if obj.topic_type == "4" or obj.topic_type == "5" or obj.topic_type == "6" %}width: 85%{% elif obj.topic_type == "1" or obj.topic_type == "2" %}width: 25%{% elif obj.topic_type == "3" %}width: 53%{% else %}width: 25%{% endif %};height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;">
                                    <select name="" id="topic_type_select" style="width: 100%;height: 100%;border: none;outline: none;" onchange="select_topic_type()">
                                    <option value="0">请选择议题类型</option>
                                    <option value="1" {% if obj.topic_type == "1" %}selected{% endif %}>付款类</option>
                                    <option value="2" {% if obj.topic_type == "2" %}selected{% endif %}>经济合同类</option>
                                    <option value="3" {% if obj.topic_type == "3" %}selected{% endif %}>项目类</option>
                                    <option value="4" {% if obj.topic_type == "4" %}selected{% endif %}>文件类</option>
                                    <option value="5" {% if obj.topic_type == "5" %}selected{% endif %}>方案类</option>
                                    <option value="7" {% if obj.topic_type == "7" %}selected{% endif %}>招标采购类</option>
                                    <option value="6" {% if obj.topic_type == "6" %}selected{% endif %}>其他事项</option>
                                </select>
                                </td>
                                {% if obj.topic_type == "1" or obj.topic_type == "2" %}
                                    <td style="width: 10%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                        {% if obj.topic_type == "1" %}
                                            付款类型
                                        {% else %}
                                            合同类型
                                        {% endif %}
                                    </td>
                                    <td id="pay_type_select" style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;">
                                        {% if obj.topic_type == "1" %}
                                            <select name="" id="pay_type_select" style="width: 100%;height: 100%;border: none;outline: none;">
                                                <option value="0">请选择付款类型</option>
                                                <option value="1" {% if obj.pay_type == "1" %}selected{% endif %}>合同付款</option>
                                                <option value="2" {% if obj.pay_type == "2" %}selected{% endif %}>固定资产/维修维保付款</option>
                                                <option value="3" {% if obj.pay_type == "3" %}selected{% endif %}>材料付款</option>
                                                <option value="4" {% if obj.pay_type == "4" %}selected{% endif %}>餐补付款</option>
                                                <option value="5" {% if obj.pay_type == "5" %}selected{% endif %}>学科经费</option>
                                                <option value="6" {% if obj.pay_type == "6" %}selected{% endif %}>科研经费</option>
                                                <option value="7" {% if obj.pay_type == "7" %}selected{% endif %}>一般付款</option>
                                            </select>
                                        {% else %}
                                            <select name="" id="contract_type_select" style="width: 100%;height: 100%;border: none;outline: none;">
                                                <option value="0">请选择合同类型</option>
                                                <option value="1" {% if obj.contract_type == "1" %}selected{% endif %}>服务类</option>
                                                <option value="2" {% if obj.contract_type == "2" %}selected{% endif %}>货物类</option>
                                                <option value="3" {% if obj.contract_type == "3" %}selected{% endif %}>工程类</option>
                                                <option value="4" {% if obj.contract_type == "4" %}selected{% endif %}>其他类</option>
                                            </select>
                                        {% endif %}
                                    </td>
                                    <td style="width: 10%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">是否转党委会</td>
                                    <td style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;">
                                        <input type="radio" name="whether_outweigh_20" value="1" {% if obj.whether_outweigh == "1" %}checked{% endif %}> 是
                                        <input type="radio" name="whether_outweigh_20" value="0" style="margin-left: 10px;" {% if obj.whether_outweigh == "0" %}checked{% endif %}> 否
                                    </td>
                                {% elif obj.topic_type == "3" %}
                                    <td id="WhetherBidTitle" style="width: 12%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;">是否招标</td>
                                    <td id="WhetherBid" style="width: 20%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;">
                                        <input type="radio" name="whether_bid_or_not" value="1" {% if obj.whether_bid == "1" %}checked{% endif %}> 是
                                        <input type="radio" name="whether_bid_or_not" value="0" style="margin-left: 10px;" {% if obj.whether_bid == "0" %}checked{% endif %}> 否
                                    </td>
                                {% endif %}
                            </tr>
                            {% if obj.topic_type == "1" %}
                                <tr style="width: 100%;">
                                    <td style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">收款单位</td>
                                    <td id="Payee" style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;border-top: none;outline: none;" contenteditable="true">{{ obj.Payee }}</td>
                                    <td style="width: 13%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">收款账号</td>
                                    <td id="receiving_account" style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;border-top: none;outline: none;" contenteditable="true">{{ obj.receiving_account }}</td>
                                    <td style="width: 12%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;">开户行</td>
                                    <td id="opening_bank" style="width: 20%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;outline: none;" contenteditable="true">{{ obj.opening_bank }}</td>
                                </tr>
                            {% elif obj.topic_type == "2" %}
                                <td style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">对方单位</td>
                                    <td id="opposite_unit" style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;border-top: none;outline: none;" contenteditable="true">{{ obj.Payee }}</td>
                                    <td style="width: 13%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">合同名称</td>
                                    <td id="contract_name" style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;border-top: none;outline: none;" contenteditable="true">{{ obj.contract_name }}</td>
                                    <td style="width: 12%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;">合同编号</td>
                                    <td id="contract_number" style="width: 20%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;outline: none;" contenteditable="true">{{ obj.contract_number }}</td>
                            {% endif %}

                            {% if obj.topic_type == "1" %}
                                <tr id="payment_capitalization" style="width: 100%;">
                                    <td style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;">申请金额</td>
                                    <td id="application_amount" style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;outline: none;" contenteditable="true">{{ obj.application_amount }}</td>
                                    <td style="width: 13%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;">金额大写</td>
                                    <td id="amount_words" style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;">{{ obj.amount_words }}</td>
                                    <td style="width: 12%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;">经费来源</td>
                                    <td style="width: 20%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;">
                                        <select name="" id="funding_source" style="width: 100%;height: 100%;border: none;outline: none;">
                                        <option value="0">请选择经费来源</option>
                                        <option value="1" {% if obj.funding_source == "1" %}selected{% endif %}>自有经费</option>
                                        <option value="2" {% if obj.funding_source == "2" %}selected{% endif %}>学科经费</option>
                                        <option value="3" {% if obj.funding_source == "3" %}selected{% endif %}>科研经费</option>
                                        <option value="4" {% if obj.funding_source == "4" %}selected{% endif %}>财政拨款</option>
                                        <option value="5" {% if obj.funding_source == "5" %}selected{% endif %}>贴息贷款</option>
                                        <option value="6" {% if obj.funding_source == "6" %}selected{% endif %}>专项债券</option>
                                        <option value="7" {% if obj.funding_source == "7" %}selected{% endif %}>工会经费</option>
                                </select>
                                    </td>
                                </tr>
                            {% endif %}
                        {% else %}
                        {% endif %}

                        <tr id="xb_ks" style="width: 100%;{% if obj.type == 'xz' %} display: none; {% endif %}">
                            <td style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">
                                协办科室
                            </td>
                            <td id="xieban" {% if obj.topic_type == "1" %}colspan="5"{% endif %} style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;border-top: none;">{{ data_dic.help_department }}</td>
                            <td style="width: 10%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;{% if obj.topic_type == "1" %}display: none;{% endif %}">
                                预算金额(不超过)
                            </td>
                            <td id="ysje" style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;{% if obj.topic_type == "1" %}display: none;{% endif %}" contenteditable="true">{{ data_dic.ysje }}</td>
                            <td style="width: 10%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;{% if obj.topic_type == "1" %}display: none;{% endif %}">
                                经费来源
                            </td>
                            <td id="jfly" style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;{% if obj.topic_type == "1" %}display: none;{% endif %}" contenteditable="true">{{ data_dic.jfly }}</td>
                        </tr>
                        <tr style="width: 100%;">
                            <td style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">
                                议题名称
                            </td>
                            <td id="ytmc" colspan="3" style="width: 50%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;border-top: none;outline: none;" contenteditable="true">{{ data_dic.topics_name }}</td>
                            <td style="width: 10%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                预估用时(分钟)
                            </td>
                            <td id="ygys" style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;border-top: none;outline: none;" contenteditable="true">{{ data_dic.topics_estimate }}</td>
                        </tr>
                        {% if data_dic.yb_number %}
                            <tr style="width: 100%;">
                                <td style="width: 15%;height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">
                                    院长办公会<br>议&nbsp;题&nbsp;编&nbsp;号
                                </td>
                                <td id="yb_number" colspan="5" style="width: 85%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;border-top: none;outline: none;">{{ data_dic.yb_number }}</td>
                            </tr>
                        {% endif %}
                        {% if 'PG' in data_dic.audit_list and obj.state != 'PG' and data_dic.db_topics_text or data_dic.db_topics_basis or data_dic.db_solution %}
                            <tr style="width: 100%;">
                                <td colspan="6" style="width: 90%;height: 40px;line-height: 40px;margin-left: 5%;background-color: #F5F5F5;color: #1E90FF;padding-left: 1%;border: #cccccc solid 1px;padding-right: 1%;">院长办公会议题内容</td>
                            </tr>
                        {% endif %}

                        <tr style="width: 100%;">
                            <td style="width: 15%;height: 100px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">
                                议题简述
                            </td>
                            <td colspan="5" style="width: 85%;border: #cccccc solid 1px;border-left: none;">
                                <script id="editor" type="text/plain" style="width:100%;height:300px;outline: none;"></script>
                            </td>
                        </tr>
                        <tr style="width: 100%;{% if obj.type == 'xz' %} display: none; {% endif %}">
                            <td style="width: 15%;height: 100px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">
                                政策依据<br>或调研论<p style="letter-spacing: 1px;">证&nbsp;&nbsp;情&nbsp;&nbsp;况</p>
                            </td>
                            <td id="ytyj" colspan="5" style="width: 85%;height: 100px;border: #cccccc solid 1px;border-left: none;">
                                <script id="editor1" type="text/plain" style="width:100%;height:300px;outline: none;"></script>
                            </td>
                        </tr>
                        <tr id="jj_fa" style="width: 100%;{% if obj.type == 'xz' %} display: none; {% endif %}">
                            <td style="width: 15%;height: 100px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                拟供选择
                                <p style="letter-spacing: 3px;">方&nbsp;&nbsp;&nbsp;&nbsp;案</p>
                            </td>
                            <td id="jjfa" colspan="5" style="width: 85%;border: #cccccc solid 1px;border-left: none;">
                                <script id="editor2" type="text/plain" style="width:100%;height:300px;outline: none;"></script>
                            </td>
                        </tr>

                        {% if 'PG' in data_dic.audit_list and obj.state != 'PG' or obj.HouseToParty_id %}
                            <tr>
                                <td colspan="6" style="width: 90%;height: 40px;line-height: 40px;margin-left: 5%;background-color: #F5F5F5;color: #1E90FF;padding-left: 1%;border: #cccccc solid 1px;padding-right: 1%;">
                                    院长办公会审批详情
                                </td>
                            </tr>
                        {% else %}
                            <tr>
                                <td colspan="6" style="width: 90%;height: 40px;line-height: 40px;margin-left: 5%;background-color: #F5F5F5;color: #1E90FF;padding-left: 1%;border: #cccccc solid 1px;padding-right: 1%;">
                                    审批详情
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'B' in data_dic.audit_list %}
                            <tr style="width: 100%;" >
                                <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;管&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;领&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;导
                                </td>
                                <td id="" colspan="5"
                                    style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in data_dic.audit_list.items %}
                                        {% if k == 'B' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span>{{ item.state_display }}</span>
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'OPR' in data_dic.audit_list %}
                            <tr style="width: 100%;" >
                                <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    医&nbsp;院&nbsp;办&nbsp;公&nbsp;室&nbsp;初&nbsp;审
                                </td>
                                <td id="" colspan="5"
                                    style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in data_dic.audit_list.items %}
                                        {% if k == 'OPR' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        {% if item.state_display == '同意' %}
                                                            已审核
                                                        {% else %}
                                                            <span>{{ item.state_display }}</span>
                                                        {% endif %}
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if obj.type == 'xz' %}
                            {% if 'YZ/SJ' in data_dic.audit_list %}
                                <tr style="width: 100%;" >
                                    <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                        {% if obj.type == 'db' %}
                                            {% if obj.is_yb %}
                                                院&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;长&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;意&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;见
                                            {% else %}
                                                书&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;记&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;意&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;见
                                            {% endif %}
                                        {% else %}
                                            院&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;长&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;意&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;见
                                        {% endif %}
                                    </td>
                                    <td id="" colspan="5"
                                        style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                        {% for k,v in data_dic.audit_list.items %}
                                            {% if k == 'YZ/SJ' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt=""
                                                                 style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if 'YB/DB' in data_dic.audit_list %}
                                <tr style="width: 100%;" >
                                    <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                        医&nbsp;&nbsp;&nbsp;院&nbsp;&nbsp;&nbsp;办&nbsp;&nbsp;&nbsp;公&nbsp;&nbsp;&nbsp;室
                                    </td>
                                    <td id="" colspan="5"
                                        style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                        {% for k,v in data_dic.audit_list.items %}
                                            {% if k == 'YB/DB' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            {% if item.state_display == '同意' %}
                                                                已审核
                                                            {% else %}
                                                                <span>{{ item.state_display }}</span>
                                                            {% endif %}
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt=""
                                                                 style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}
                        {% else %}
                            {% if 'YB/DB' in data_dic.audit_list %}
                                <tr style="width: 100%;" >
                                    <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                        {% if 'yb_result' in data_dic.audit_list or obj.type == 'yb' %}
                                            医&nbsp;院&nbsp;办&nbsp;公&nbsp;室&nbsp;核&nbsp;稿
                                        {% else %}
                                            党&nbsp;&nbsp;&nbsp;委&nbsp;&nbsp;&nbsp;办&nbsp;&nbsp;&nbsp;公&nbsp;&nbsp;&nbsp;室
                                        {% endif %}
                                    </td>
                                    <td id="" colspan="5"
                                        style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                        {% for k,v in data_dic.audit_list.items %}
                                            {% if k == 'YB/DB' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            {% if item.state_display == '同意' %}
                                                                已审核
                                                            {% else %}
                                                                <span>{{ item.state_display }}</span>
                                                            {% endif %}
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt=""
                                                                 style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if 'Y_D_leader' in data_dic.audit_list %}
                                <tr style="width: 100%;" >
                                    <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                        党委办公室分管领导
                                    </td>
                                    <td id="" colspan="5"
                                        style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                        {% for k,v in data_dic.audit_list.items %}
                                            {% if k == 'Y_D_leader' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt=""
                                                                 style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}

                            {% if 'YZ/SJ' in data_dic.audit_list %}
                                <tr style="width: 100%;" >
                                    <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                        {% if obj.type == 'db' %}
                                            {% if obj.is_yb %}
                                                院&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;长&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;意&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;见
                                            {% else %}
                                                书&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;记&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;意&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;见
                                            {% endif %}
                                        {% else %}
                                            院&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;长&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;意&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;见
                                        {% endif %}
                                    </td>
                                    <td id="" colspan="5"
                                        style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                        {% for k,v in data_dic.audit_list.items %}
                                            {% if k == 'YZ/SJ' %}
                                                {% for item in v %}
                                                    {% if item.state != 'unaudit' %}
                                                        <div style="width: 100%;line-height: 20px;position: relative;">
                                                            <span>{{ item.state_display }}</span>
                                                            <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                        </div>
                                                        <div>
                                                            {% if item.signature_picture %}
                                                                <img src="{{ item.signature_picture }}" alt=""
                                                                 style="width: 150px; height: 60px;">
                                                            {% else %}
                                                                {{ item.audit_user }}
                                                            {% endif %}
                                                        </div>
                                                        <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                    {% endif %}
                                                {% endfor %}
                                            {% endif %}
                                        {% endfor %}
                                    </td>
                                </tr>
                            {% endif %}
                        {% endif %}

                        {% if 'yb_result' in data_dic.audit_list %}
                            <tr style="width: 100%;" >
                                <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    院长办公会会议结果
                                </td>
                                <td id="" colspan="5"
                                    style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in data_dic.audit_list.items %}
                                        {% if k == 'yb_result' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'marks' in data_dic.audit_list %}
                            <tr style="width: 100%;" >
                                <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    议&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;题&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注
                                </td>
                                <td id="" colspan="5"
                                    style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in data_dic.audit_list.items %}
                                        {% if k == 'marks' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span>{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'transfer' in data_dic.audit_list %}
                            <tr style="width: 100%;" >
                                <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    提&nbsp;&nbsp;&nbsp;交&nbsp;&nbsp;&nbsp;党&nbsp;&nbsp;&nbsp;委&nbsp;&nbsp;&nbsp;会
                                </td>
                                <td id="" colspan="5"
                                    style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in data_dic.audit_list.items %}
                                        {% if k == 'transfer' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'db_leader' in data_dic.audit_list %}
                            <tr style="width: 100%;" >
                                <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;管&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;领&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;导
                                </td>
                                <td id="" colspan="5"
                                    style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in data_dic.audit_list.items %}
                                        {% if k == 'db_leader' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span>{{ item.state_display }}</span>
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'PG' in data_dic.audit_list %}
                            <tr style="width: 100%;" >
                                <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    党&nbsp;&nbsp;&nbsp;委&nbsp;&nbsp;&nbsp;办&nbsp;&nbsp;&nbsp;公&nbsp;&nbsp;&nbsp;室
                                </td>
                                <td id="" colspan="5"
                                    style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in data_dic.audit_list.items %}
                                        {% if k == 'PG' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        {% if item.state_display == '同意' %}
                                                            已审核
                                                        {% else %}
                                                            <span>{{ item.state_display }}</span>
                                                        {% endif %}
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'PG' in data_dic.audit_list and obj.state != 'PG' and data_dic.db_topics_text or data_dic.db_topics_basis or data_dic.db_solution %}
                            <tr style="width: 100%;">
                                <td colspan="6" style="width: 90%;height: 40px;line-height: 40px;margin-left: 5%;background-color: #F5F5F5;color: #1E90FF;padding-left: 1%;border: #cccccc solid 1px;padding-right: 1%;">党委会议题内容</td>
                            </tr>

                            <tr style="width: 100%;">
                                <td style="width: 15%;height: 100px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">
                                    议题简述
                                </td>
                                <td id="dw_ytnr" colspan="5" style="width: 85%;height: 100px;border: #cccccc solid 1px;border-left: none;border-top: none;padding-left: 1%;">
                                    <script id="editor3" type="text/plain" style="width:100%;height:300px;outline: none;"></script>
                                </td>
                            </tr>
                            <tr style="width: 100%;{% if obj.type == 'xz' %} display: none; {% endif %}">
                                <td style="width: 15%;height: 100px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;letter-spacing: 2px;">
                                    政策依据或调研论证情况
                                </td>
                                <td id="dw_ytyj" colspan="5"
                                    style="width: 85%;height: 100px;border: #cccccc solid 1px;border-left: none;border-top: none;padding-left: 1%;">
                                    <script id="editor4" type="text/plain" style="width:100%;height:300px;outline: none;"></script>
                                </td>
                            </tr>
                            <tr id="jj_fa" style="width: 100%;{% if obj.type == 'xz' %} display: none; {% endif %}">
                                <td style="width: 15%;height: 100px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    拟供选择方案
                                </td>
                                <td id="dw_jjfa" colspan="5"
                                    style="width: 85%;height: 100px;border: #cccccc solid 1px;border-left: none;border-top: none;padding-left: 1%;"><script id="editor5" type="text/plain" style="width:100%;height:300px;outline: none;"></script></td>
                            </tr>
                        {% endif %}

                        {% if 'PG' in data_dic.audit_list and obj.state != 'PG' or obj.HouseToParty_id %}
                            <tr>
                                <td colspan="6" style="width: 90%;height: 40px;line-height: 40px;margin-left: 5%;background-color: #F5F5F5;color: #1E90FF;padding-left: 1%;border: #cccccc solid 1px;padding-right: 1%;">
                                    党委会审批详情
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'db_one_step' in data_dic.audit_list %}
                            <tr style="width: 100%;" >
                                <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;管&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;领&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;导
                                </td>
                                <td id="" colspan="5"
                                    style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in data_dic.audit_list.items %}
                                        {% if k == 'db_one_step' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span>{{ item.state_display }}</span>
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'db_two_step' in data_dic.audit_list %}
                            <tr style="width: 100%;" >
                                <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    党&nbsp;&nbsp;&nbsp;委&nbsp;&nbsp;&nbsp;办&nbsp;&nbsp;&nbsp;公&nbsp;&nbsp;&nbsp;室
                                </td>
                                <td id="" colspan="5"
                                    style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in data_dic.audit_list.items %}
                                        {% if k == 'db_two_step' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        {% if item.state_display == '同意' %}
                                                            已审核
                                                        {% else %}
                                                            <span>{{ item.state_display }}</span>
                                                        {% endif %}
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'db_three_step' in data_dic.audit_list %}
                        <tr style="width: 100%;" >
                            <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                党委办公室分管领导
                            </td>
                            <td id="" colspan="5"
                                style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                {% for k,v in data_dic.audit_list.items %}
                                    {% if k == 'db_three_step' %}
                                        {% for item in v %}
                                            {% if item.state != 'unaudit' %}
                                                <div style="width: 100%;line-height: 20px;position: relative;">
                                                    <span>{{ item.state_display }}</span>
                                                    <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                </div>
                                                <div>
                                                    {% if item.signature_picture %}
                                                        <img src="{{ item.signature_picture }}" alt=""
                                                         style="width: 150px; height: 60px;">
                                                    {% else %}
                                                        {{ item.audit_user }}
                                                    {% endif %}
                                                </div>
                                                <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                            {% endif %}
                                        {% endfor %}
                                    {% endif %}
                                {% endfor %}
                            </td>
                        </tr>
                    {% endif %}

                        {% if 'sj' in data_dic.audit_list %}
                            <tr style="width: 100%;" >
                                <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    书&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;记&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;意&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;见
                                </td>
                                <td id="" colspan="5"
                                    style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in data_dic.audit_list.items %}
                                        {% if k == 'sj' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span>{{ item.state_display }}</span>
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'db_result' in data_dic.audit_list %}
                            <tr style="width: 100%;" >
                                <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    党&nbsp;委&nbsp;会&nbsp;会&nbsp;议&nbsp;结&nbsp;果
                                </td>
                                <td id="" colspan="5"
                                    style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in data_dic.audit_list.items %}
                                        {% if k == 'db_result' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}

                        {% if 'xz_result' in data_dic.audit_list %}
                            <tr style="width: 100%;" >
                                <td style="width: 15%;height: 150px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                                    行政例会会议结果
                                </td>
                                <td id="" colspan="5"
                                    style="width: 85%;height: auto;border: #cccccc solid 1px;border-left: none;border-top: none;outline: none;">
                                    {% for k,v in data_dic.audit_list.items %}
                                        {% if k == 'xz_result' %}
                                            {% for item in v %}
                                                {% if item.state != 'unaudit' %}
                                                    <div style="width: 100%;line-height: 20px;position: relative;">
                                                        <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                    </div>
                                                    <div>
                                                        {% if item.signature_picture %}
                                                            <img src="{{ item.signature_picture }}" alt=""
                                                             style="width: 150px; height: 60px;">
                                                        {% else %}
                                                            {{ item.audit_user }}
                                                        {% endif %}
                                                    </div>
                                                    <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                                {% endif %}
                                            {% endfor %}
                                        {% endif %}
                                    {% endfor %}
                                </td>
                            </tr>
                        {% endif %}
                        <tr style="width: 100%;">
                            <td colspan="6" style="width: 100%;height: 40px;border: #cccccc solid 1px;padding-right: 1%;border-top: none;">
                                <span style="color: red;">* </span>附件
                                <a href="javascript:;" class="file" style="vertical-align: top;margin-top: 5px;float: right;">
                                    上传附件
                                    <input type="file" name="regular_main_body" id="regular_main_body"
                                           onchange="upload_accessory('file1', 'regular_main', 'regular_main_body')">
                                </a>
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="fujian_div" style="width: 90%;margin-left: 5%;font-size: 14px;">
                    <table style="width: 100%;border-collapse: collapse;">
                        <thead>
                            <tr>
                                <td style="width: 5%;border: #cccccc solid 1px;text-align: center;height: 35px;border-top: none;">序号</td>
                                <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;height: 35px;border-top: none;">文件名称</td>
                                <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;height: 35px;border-top: none;">文件大小</td>
                                <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;height: 35px;border-top: none;">上传时间</td>
                                <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;height: 35px;border-top: none;">上传人员</td>
                                <td style="width: 15%;border: #cccccc solid 1px;border-left: none;text-align: center;height: 35px;border-top: none;">操作</td>
                            </tr>
                        </thead>
                        <tbody style="overflow: auto;" id="regular_main">
                            {% for record in data_dic.main_file_list %}
                                <tr>
                                    <td style="width: 5%;border: #cccccc solid 1px;text-align: center;height: 35px;">{{ forloop.counter }}</td>
                                    <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;height: 35px;">{{ record.file_name }}</td>
                                    <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;height: 35px;">{{ record.file_size }}</td>
                                    <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;height: 35px;">{{ record.upload_time }}</td>
                                    <td style="width: 20%;border: #cccccc solid 1px;border-left: none;text-align: center;height: 35px;">{{ record.uploader }}</td>
                                    <td style="width: 15%;border: #cccccc solid 1px;border-left: none;text-align: center;height: 35px;"><a target='_blank' href="{{ record.file_path }}">查看</a> | <a style="color: red;" href='#' onclick='RemoveTr(this, "regular_main", {{ record.id }})' >删除</a></td>
                                </tr>
                            {% endfor %}
                        </tbody>
                    </table>
                </div>
            </div>

        </div>
    </div>

    <script>
        var ue = UE.getEditor('editor');

        var ue1 = UE.getEditor('editor1');

        var ue2 = UE.getEditor('editor2');

        window.onload = function () {
            document.getElementById("loading").style.display = "none";

            var decode = atob('{{ data_dic.topics_text | safe }}');
            // 编码转字符串
            var content = decodeURI(decode);

            var decode1 = atob('{{ data_dic.topics_basis | safe }}');
            // 编码转字符串
            var content1 = decodeURI(decode1);
            if ('{{ data_dic.solution | safe }}' !== "空") {
                var decode2 = atob('{{ data_dic.solution | safe }}');
                var content2 = decodeURI(decode2);      // 编码转字符串
            }
            UE.getEditor('editor').setContent(content);
            UE.getEditor('editor1').setContent(content1);
            if (content2){
                UE.getEditor('editor2').setContent(content2);
            }

            {% if 'PG' in data_dic.audit_list and obj.state != 'PG' and data_dic.db_topics_text or data_dic.db_topics_basis or data_dic.db_solution %}
                var decode_1 = atob('{{ data_dic.db_topics_text | safe }}');
                // 编码转字符串
                var content_1 = decodeURI(decode_1);

                var decode1_1 = atob('{{ data_dic.db_topics_basis | safe }}');
                // 编码转字符串
                var content1_1 = decodeURI(decode1_1);
                if ('{{ data_dic.db_solution | safe }}' !== "空") {
                    var decode2_1 = atob('{{ data_dic.db_solution | safe }}');
                    var content2_1 = decodeURI(decode2_1);      // 编码转字符串
                }
                UE.getEditor('editor3').setContent(content_1);
                UE.getEditor('editor4').setContent(content1_1);
                if (content2_1){
                    UE.getEditor('editor5').setContent(content2_1);
                }
            {% endif %}
            my_mine()
        };

        // 我的申请
        function my_mine() {
            var Serial_number = "{{ obj.type }}"
            if (Serial_number === 'yb'){
                document.getElementById("summit_but").setAttribute("onclick", "summit_data1()");
            }else if (Serial_number === 'db'){
                document.getElementById("summit_but").setAttribute("onclick", "summit_data()");
            }else {
                document.getElementById("summit_but").setAttribute("onclick", "summit_data2()");
            }
        }

        function jianshu_show() {
            if (document.getElementById("yt_js").style.display === "none"){
                document.getElementById("yt_js").style.display="table-row";
            }else {
                document.getElementById("yt_js").style.display="none";
            }
        }

        function yiju_show() {
            if (document.getElementById("yt_yj_ed").style.display === "none"){
                document.getElementById("yt_yj_ed").style.display="table-row";
            }else {
                document.getElementById("yt_yj_ed").style.display="none";
            }
        }

        function jiejuefangan_show() {
            if (document.getElementById("jj_fa_yj").style.display === "none"){
                document.getElementById("jj_fa_yj").style.display="table-row";
            }else {
                document.getElementById("jj_fa_yj").style.display="none";
            }
        }

        // 创建附件列表
        function creat_table(JsonData) {
            var t_table = document.getElementById('regular_main');
            for (var i=0; i<JsonData.length; i++){
                var tr = document.createElement("tr");
                var td1 = document.createElement("td");var td2 = document.createElement("td");var td3 = document.createElement("td");var td4 = document.createElement("td");var td5 = document.createElement("td");var td6 = document.createElement("td");
                td1.innerHTML = i+1;td1.style.textAlign = "center";td1.style.border="#cccccc solid 1px";td1.style.borderTop="none";td1.style.height="35px";
                td2.innerHTML = JsonData[i]["file_name"];td2.style.paddingLeft = "1%";td2.style.border="#cccccc solid 1px";td2.style.borderLeft="none";td2.style.borderTop="none";td2.style.height="35px";
                td3.innerHTML = JsonData[i]["file_size"];td3.style.textAlign = "center";td3.style.border="#cccccc solid 1px";td3.style.borderLeft="none";td3.style.borderTop="none";td3.style.height="35px";
                td4.innerHTML = JsonData[i]["upload_time"];td4.style.textAlign = "center";td4.style.border="#cccccc solid 1px";td4.style.borderLeft="none";td4.style.borderTop="none";td4.style.height="35px";
                td5.innerHTML = JsonData[i]["uploader"];td5.style.textAlign = "center";td5.style.border="#cccccc solid 1px";td5.style.borderLeft="none";td5.style.borderTop="none";td5.style.height="35px";
                td6.innerHTML = "<a target='_blank' href='"+JsonData[i]["file_path"] + "'>查看</a> | <a style='color: red;' href='#' onclick='RemoveTr(this, \""+'regular_main'+"\", \""+JsonData[i]["id"]+"\")'>删除</a>";td6.style.textAlign = "center";td6.style.border="#cccccc solid 1px";td6.style.borderLeft="none";td6.style.borderTop="none";td6.style.height="35px";
                tr.appendChild(td1);tr.appendChild(td2);tr.appendChild(td3);tr.appendChild(td4);tr.appendChild(td5);tr.appendChild(td6);
                t_table.appendChild(tr);
                alert("添加成功")
            }
        }

        function RemoveTr(_this, tbody_id, wj_id) {
            var table = document.getElementById(tbody_id);
            var trNode = $(_this).parent().parent();
            trNode.remove();

            for (var i=0; i<table.children.length; i++){
                table.children[i].children[0].innerHTML=i+1;
            }

            var xhr = new XMLHttpRequest();
            var local_host = window.location.host;          // 获取当前IP
            xhr.open('post', "/administrative/delete_attachments_view", true);
            xhr.setRequestHeader('content-type', 'application/x-www-form-urlencoded');
            xhr.send("id="+String(wj_id));
            xhr.onreadystatechange = function () {
                if (xhr.readyState === 4) {
                    if (xhr.status === 200) {
                        document.getElementById("loading").style.display = "none";
                        var JsonDate = JSON.parse(xhr.responseText);
                        console.log(JsonDate);
                        alert("删除成功！")
                    }
                }
            };
        }

        // 上传正文
        function upload_accessory(file_type, tbody_id, accessory_type, bh_id) {
            var form = new FormData();
            var files = document.getElementById(accessory_type).files[0];

            form.append(file_type, files);
            form.append('number', '{{ obj.uuid }}');
            form.append('source', "yt");
            form.append('admin', "true");

            var xhr = new XMLHttpRequest();
            var local_host = window.location.host;          // 获取当前IP
            xhr.open('post', "/administrative/topics_attachments_upload", true);
            xhr.send(form);
            xhr.onreadystatechange = function () {
                if (xhr.readyState === 4) {
                    if (xhr.status === 200) {
                        document.getElementById("loading").style.display = "none";
                        var JsonDate = JSON.parse(xhr.responseText);
                        console.log(JsonDate);
                        creat_table1(JsonDate)
                    }
                }
            };
        }

        // 创建附件列表
        function creat_table1(JsonData) {
            var t_table = document.getElementById('regular_main');
            var tr = document.createElement("tr");
            var td1 = document.createElement("td");var td2 = document.createElement("td");var td3 = document.createElement("td");var td4 = document.createElement("td");var td5 = document.createElement("td");var td6 = document.createElement("td");
            td1.innerHTML = t_table.children.length+1;td1.style.textAlign = "center";td1.style.border="#cccccc solid 1px";td1.style.borderTop="none";
            td2.innerHTML = JsonData["file_name"];td2.style.paddingLeft = "1%";td2.style.border="#cccccc solid 1px";td2.style.borderLeft="none";td2.style.borderTop="none";
            td3.innerHTML = JsonData["file_size"];td3.style.textAlign = "center";td3.style.border="#cccccc solid 1px";td3.style.borderLeft="none";td3.style.borderTop="none";
            td4.innerHTML = JsonData["upload_time"];td4.style.textAlign = "center";td4.style.border="#cccccc solid 1px";td4.style.borderLeft="none";td4.style.borderTop="none";
            td5.innerHTML = JsonData["uploader"];td5.style.textAlign = "center";td5.style.border="#cccccc solid 1px";td5.style.borderLeft="none";td5.style.borderTop="none";
            var local_host = window.location.host;
            td6.innerHTML = "<a target='_blank' href='"+JsonData["pdf_path"] + "'>查看</a> | <a style='color: red;' href='#' onclick='RemoveTr(this, \""+'regular_main'+"\", \""+JsonData["id"]+"\")'>删除</a>";td6.style.textAlign = "center";td6.style.border="#cccccc solid 1px";td6.style.borderLeft="none";td6.style.borderTop="none";
            tr.appendChild(td1);tr.appendChild(td2);tr.appendChild(td3);tr.appendChild(td4);tr.appendChild(td5);tr.appendChild(td6);
            t_table.appendChild(tr);
        }

        function summit_data() {
            var db_ytmc = document.getElementById("ytmc").innerText;       // 议题名称
            var db_bh = document.getElementById("bh").innerText;       // 议题编号
            var db_xb = document.getElementById("xieban").innerText;       // 协办科室
            var db_ytnr = btoa(encodeURI(UE.getEditor("editor").getContent()));       // 议题内容
            var db_ytyj = btoa(encodeURI(UE.getEditor("editor1").getContent()));       // 议题依据
            var db_jjfa = btoa(encodeURI(UE.getEditor("editor2").getContent()));       // 解决方案
            var db_ygys = document.getElementById("ygys").innerText;       // 预估用时(分钟)
            var ysje = document.getElementById("ysje").innerText;       // 预算金额
            var jfly = document.getElementById("jfly").innerText;       // 经费来源
            {#var audit_result = $("input[type=radio][name=yb_gh]:checked").val();            // 是否经过院长办公会#}
            var nr_wenben = UE.getEditor("editor").getPlainTxt();
            var yj_wenben = UE.getEditor("editor1").getPlainTxt();
            var fa_wenben = UE.getEditor("editor2").getPlainTxt();

            if (!db_ytmc){
                alert("议题名称不能为空");
                return false
             }
            if (!db_ytnr){
                alert("议题内容不能为空");
                return false
             }
            if (!db_jjfa){
                alert("解决方案不能为空");
                return false
             }
            var table = document.getElementById('party_main');
            if (!table.children.length){
                alert("请上传议题文件！");
                return false
             }

            var db_xb_split = db_xb.split(',');var db_xb_list = [];
            if (db_xb_split.length >= 1){
                for (var a=0; a<db_xb_split.length; a++){
                    if (db_xb_split[a].trim()){
                        db_xb_list.push(db_xb_split[a].split("(")[1].slice(0, -1));
                    }
                }
             }

            var db_send_str = 'id={{ obj.id }}&number='+String(db_bh)+'&type='+String("db")+'&topics_name='+String(db_ytmc)+'&topics_text='+String(db_ytnr)+'&topics_basis='+String(db_ytyj)+'&solution='+String(db_jjfa)+'&help_department='+JSON.stringify(db_xb_list)+'&topics_estimate='+String(db_ygys)+"&nr_wenben="+String(nr_wenben)+"&yj_wenben="+String(yj_wenben)+"&fa_wenben="+String(fa_wenben)+"&ysje="+String(ysje)+"&jfly="+String(jfly);
            ajax_request(db_send_str);
        }

        function summit_data1() {
            var yb_ytmc = document.getElementById("ytmc").innerText;       // 议题名称
            var yb_bh = document.getElementById("bh").innerText;       // 议题编号
            var yb_xb = document.getElementById("xieban").innerText;       // 协办科室
            var yb_ytnr = btoa(encodeURI(UE.getEditor("editor").getContent()));       // 议题内容
            var yb_ytyj = btoa(encodeURI(UE.getEditor("editor1").getContent()));       // 议题依据
            var yb_jjfa = btoa(encodeURI(UE.getEditor("editor2").getContent()));       // 解决方案
            var yb_ygys = document.getElementById("ygys").innerText;       // 预估用时(分钟)
            var ysje = document.getElementById("ysje").innerText;       // 预算金额
            var jfly = document.getElementById("jfly").innerText;       // 预算金额
            var nr_wenben = UE.getEditor("editor").getPlainTxt();
            var yj_wenben = UE.getEditor("editor1").getPlainTxt();
            var fa_wenben = UE.getEditor("editor2").getPlainTxt();
            var topic_type_select = document.getElementById("topic_type_select").value;         // 议题类型
            var pay_type_select = "";
            var contract_type_select = "";
            var whether_outweigh_20 = ""
            var Payee = "";
            var receiving_account = "";
            var opening_bank = "";
            var contract_name = "";                                         // 合同名称
            var contract_number = "";                                   // 合同编号
            var application_amount = "";                // 申请金额
            var amount_words = "";                          // 金额大写
            var funding_source = "";                    // 预算金额
            var whether_bid = "";

            if (topic_type_select === "0") {
                alert("请选择议题类型！")
                return false
            }else {
                if (topic_type_select === "1") {
                    pay_type_select = document.getElementById("pay_type_select").value;
                    whether_outweigh_20 = $("input[type=radio][name=whether_outweigh_20]:checked").val();
                    Payee = document.getElementById("Payee").innerText;
                    receiving_account = document.getElementById("receiving_account").innerText;
                    opening_bank = document.getElementById("opening_bank").innerText;
                    application_amount = document.getElementById("application_amount").innerText;
                    amount_words = document.getElementById("amount_words").innerText;
                    funding_source = document.getElementById("funding_source").value;
                    if (pay_type_select === "0") {
                        alert("请选择付款类型！")
                        return false
                    }
                    if (!whether_outweigh_20) {
                        alert("请选择是否转党委会！")
                        return false
                    }
                    if (!Payee) {
                        alert("请填写收款单位！")
                        return false
                    }
                    if (!receiving_account) {
                        alert("请填写收款账号！")
                        return false
                    }
                    if (!opening_bank) {
                        alert("请填写开户行！")
                        return false
                    }
                    if (!application_amount) {
                        alert("请填写申请金额！")
                        return false
                    }
                    if (funding_source === "0") {
                        alert("请选择经费来源！")
                        return false
                    }
                }
                if (topic_type_select === "2") {
                    contract_type_select = document.getElementById("contract_type_select").value;
                    whether_outweigh_20 = $("input[type=radio][name=whether_outweigh_20]:checked").val();
                    Payee = document.getElementById("opposite_unit").innerText;
                    contract_name = document.getElementById("contract_name").innerText;
                    contract_number = document.getElementById("contract_number").innerText;
                    if (pay_type_select === "0") {
                        alert("请选择合同类型！")
                        return false
                    }
                    if (!whether_outweigh_20) {
                        alert("请选择是否转党委会！")
                        return false
                    }
                    if (!Payee) {
                        alert("请填写对方单位！")
                        return false
                    }
                    if (!contract_name) {
                        alert("请填写合同名称！")
                        return false
                    }
                    if (!contract_number) {
                        alert("请填写合同编号！")
                        return false
                    }
                }
                if (topic_type_select === "3") {
                    whether_bid = $("input[type=radio][name=whether_bid_or_not]:checked").val();
                    if (!whether_bid) {
                        alert("请选择是否招标！")
                        return false
                    }
                }
                if (topic_type_select === "7") {
                    whether_outweigh_20 = $("input[type=radio][name=whether_outweigh_20]:checked").val();
                    if (!yb_xb) {
                        alert("请选择协办科室！")
                        return false
                    }
                    if (!whether_outweigh_20) {
                        alert("请选择是否转党委会！")
                        return false
                    }
                }
            }
            if (!yb_ytmc){
                alert("议题名称不能为空");
                return false
            }
            if (!yb_ytnr){
                alert("议题内容不能为空");
                return false
            }
            if (!yb_jjfa){
                alert("解决方案不能为空");
                return false
            }

            var yb_xb_split = yb_xb.split(',');var yb_xb_list = [];
            if (yb_xb_split.length >= 1){
                for (var b=0; b<yb_xb_split.length; b++){
                    if (yb_xb_split[b].trim()){
                        yb_xb_list.push(yb_xb_split[b].split("(")[1].slice(0, -1));
                    }
                }
            }

            var yb_send_str = 'id={{ obj.id }}&number='+String(yb_bh)+'&type='+String("yb")+'&topics_name='+String(yb_ytmc)+'&topics_text='+String(yb_ytnr)+'&topics_basis='+String(yb_ytyj)+'&solution='+String(yb_jjfa)+'&help_department='+JSON.stringify(yb_xb_list)+'&topics_estimate='+String(yb_ygys)+"&nr_wenben="+String(nr_wenben)+"&yj_wenben="+String(yj_wenben)+"&fa_wenben="+String(fa_wenben)+"&ysje="+String(ysje)+"&jfly="+String(jfly) +
                "&topic_type_select="+String(topic_type_select) + "&pay_type_select="+String(pay_type_select) + "&whether_outweigh_20="+String(whether_outweigh_20) + "&Payee="+String(Payee) + "&receiving_account="+String(receiving_account) + "&opening_bank="+String(opening_bank) + "&contract_type_select="+String(contract_type_select) + "&contract_name="+String(contract_name) + "&contract_number="+String(contract_number)+
                "&application_amount="+String(application_amount)+ "&amount_words=" + String(amount_words) + "&funding_source=" + String(funding_source) + "&whether_bid=" + String(whether_bid);
            ajax_request(yb_send_str);
        }

        function summit_data2() {
            var lh_ytmc = document.getElementById("ytmc").innerText;       // 议题名称
            var lh_bh = document.getElementById("bh").innerText;       // 议题编号
            var lh_xb = document.getElementById("xieban").innerText;       // 协办科室
            var lh_ytnr = btoa(encodeURI(UE.getEditor("editor").getContent()));       // 议题内容
            var lh_ygys = document.getElementById("ygys").innerText;       // 预估用时(分钟)
            var nr_wenben = UE.getEditor("editor").getPlainTxt();

            if (!lh_ytmc){
                alert("议题名称不能为空");
                return false
            }
            if (!lh_ytnr){
                alert("议题内容不能为空");
                return false
            }
            var regular_table = document.getElementById('party_main');
            if (!regular_table.children.length){
                alert("请上传附件！");
                return false
            }
            var lh_send_str = 'id={{ obj.id }}&number=' + String(lh_bh) + '&type=' + String("xz") + '&topics_name=' + String(lh_ytmc) + '&topics_text=' + String(lh_ytnr) + '&topics_estimate=' + String(lh_ygys) + "&nr_wenben=" + String(nr_wenben);
            ajax_request(lh_send_str);
        }

        function ajax_request(send_str) {
            document.getElementById("loading").style.display = "inline-block";
            var xhr = new XMLHttpRequest();
            var local_host = window.location.host;          // 获取当前IP
            xhr.open('post', "/back-management/TopicsModifyView", true);
            xhr.setRequestHeader('content-type', 'application/x-www-form-urlencoded');
            xhr.send(send_str);
            xhr.onreadystatechange = function () {
                if (xhr.readyState === 4) {
                    if (xhr.status === 200) {
                        document.getElementById("loading").style.display = "none";
                        var JsonDate = JSON.parse(xhr.responseText);
                        console.log(JsonDate);
                        if (JsonDate["code"] === 200){
                            alert("修改成功！");
                            window.location.reload();
                        }else {
                            alert(JsonDate["message"]);
                        }
                    }
                }
            };
        }
    </script>
</body>
</html>